import request from '@/utils/request';
// list
export const zaixianfenbanList = (params) => {
    return request({
        url: '/zaixianfenban/page',
        method: 'post',
        data: params,
    })
};
export const zaixianfenbanDetail = (id) => {
    return request({
        url: '/zaixianfenban/'+id,
        method: 'get',
    })
};
// add
export const zaixianfenbanSave = (params) => {
    return request({
        url: '/zaixianfenban',
        method: 'post',
        data: params,
    })
};
// updt
export const zaixianfenbanEdit = (params) => {
    return request({
        url: '/zaixianfenban',
        method: 'put',
        data: params,
    })
};
// delete
export const zaixianfenbanDelete = (id) => {
    return request({
        url: '/zaixianfenban/'+id,
        method: 'delete',
    })
};
// pldel
export const zaixianfenbanDeleteList = (zaixianfenbans) => {
    return request({
        url: '/zaixianfenban/deleteList',
        data:{list:zaixianfenbans},
        method: 'post',
    })
};
// all
export const zaixianfenbanAllList = () => {
    return request({
        url: '/zaixianfenban',
        method: 'get',
    })
};

